Problem Note 56354: The error "Invalid option name. . ." occurs when you use the METALIB procedure
PROC METALIB generates the following error message:
ERROR: Invalid option name special-character
This error occurs when you have the DBUSER= and DBPASSWORD= options in the DBAUTH statement, and one or both of these options contain a special character in the option value.
For example, you might have a METALIB procedure with the following DBAUTH statement:
proc metalib;
omr(library="oralib_prompt");
select(dept);
dbauth(dbuser=scott dbpassword="tiger@mycompany");
run;
In this example, the special character @ appears in the DBPASSWORD value.
To circumvent the problem, create database user IDs and passwords that do not contain special characters.
Operating System and Release Information
SAS System | SAS Metadata Server | Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows 8.1 Pro | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M3 |
z/OS | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft® Windows® for x64 | 9.4 TS1M0 | 9.4 TS1M3 |
Solaris for x64 | 9.4 TS1M0 | 9.4 TS1M3 |
Linux for x64 | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M0 | 9.4 TS1M3 |
HP-UX IPF | 9.4 TS1M0 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.4 TS1M0 | 9.4 TS1M3 |
64-bit Enabled AIX | 9.4 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional x64 | 9.4 TS1M0 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | 9.4 TS1M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The DBAUTH statement enables PROC METALIB to pass database credentials when it accesses a database library. An error occurs when a special character is used as part of the value for either (or both) the DBUSER= or DBPASSWORD= options in the DBAUTH statement.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2015-08-12 14:11:40 |
Date Created: | 2015-08-05 11:23:57 |